class CreateStories < ActiveRecord::Migration
  def self.up
    create_table :stories do |t|
      t.column :url, :string
      t.column :title, :string
      t.column :score, :float
      t.column :created_on, :datetime
      t.column :user_id, :integer
    end
  end

  def self.down
    drop_table :stories
  end
end
